/*	common.h 
 *  Arizona State University
 *  CSE 325: Embedded Systems Programming
 *  Lab 7: Morse Code
 *  Georgii Tkachuk, Brentton Garber
 *   Emails: 	gtkachuk@asu.edu btgarber@asu.edu

/*System's module header files*/
#include "support_common.h"
#include "pit.h"
#include "gpio.h"
#include "qspi.h"
#include "ledMatrix.h"
#include "note.h"
#include "speaker_pwm.h"
#include "gpt.h"
#include "int_en.h"
#include "int_module.h"
#include "utils.h"
#include "nunchuk.h"
#include "i2c.h"
#include "dtim.h"
#include "game.h"
#include "uc_led.h"

/*Necessary libraries*/
#include <stdio.h>
#include <cstdlib>
#include <stdlib.h>


/*Global Definitions*/

/*Main header*/
#ifndef COMMON_H_
#define COMMON_H_

// Game States
#define IDLE 0
#define WON 1
#define LOST 2
#define RUNNING 3

// Tones
#define NONE 0
#define SHORT 1
#define LONG 2

// Button Presses
#define PRESSED 1
#define RELEASED 0

// LED Matrix Colors
#define BLACK 0
#define RED 1
#define GREEN 2
#define ORANGE 3


extern int program_mode;

void init();
int main(void);


#endif /* COMMON_H_ */
